package com.sinfonia.wipes.service.impl.taobao;

import com.sinfonia.wipes.common.utils.phantom.taobao.GrabTaobaoUtils;
import com.sinfonia.wipes.service.taobao.SearchItemService;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;


/**
 * 淘宝查找商品工具类
 *
 * @author gmwang
 * @date 2018年10月17日13:25:52
 */
@Service("searchItemService")
public class SearchItemServiceImpl implements SearchItemService {
	@Override
	public List searchItem(Map<String, Object> params) throws UnsupportedEncodingException {
		return GrabTaobaoUtils.searchItemPCULAND(params);
	}

	@Override
	public List associativeWord(Map<String, Object> params) throws IOException {
		return GrabTaobaoUtils.associativeWord(params);
	}
	@Override
	public List hotWord(Map<String, Object> params) throws IOException {
		return GrabTaobaoUtils.hotWord(params);
	}
}
